package com.edu.exam.enums.examination.paper;

/**
 * 图像格式枚举
 *
 * 从SegmentedImage实体类中提取的独立枚举
 *
 * @author System
 * @version 1.0.0
 */
public enum ImageFormat {
    JPEG("JPEG"),
    PNG("PNG"),
    BMP("BMP"),
    TIFF("TIFF"),
    GIF("GIF"),
    WEBP("WebP"),
    SVG("SVG"),
    PDF("PDF"),
    PSD("PSD"),
    RAW("RAW"),
    JPG("JPG"),
    TIF("TIF"),
    JP2("JP2"),
    JPX("JPX"),
    JPM("JPM"),
    MJ2("MJ2"),
    HEIC("HEIC"),
    HEIF("HEIF"),
    AVIF("AVIF"),
    ICO("ICO"),
    ICNS("ICNS"),
    PNM("PNM"),
    PBM("PBM"),
    PGM("PGM"),
    PPM("PPM"),
    XBM("XBM"),
    XPM("XPM"),
    TGA("TGA"),
    PCX("PCX"),
    IFF("IFF"),
    RLE("RLE"),
    DIB("DIB"),
    CUT("CUT"),
    XCF("XCF"),
    GBR("GBR"),
    PAT("PAT"),
    PCD("PCD"),
    PSP("PSP"),
    VTF("VTF"),
    DDS("DDS"),
    EXR("EXR"),
    HDR("HDR"),
    PIC("PIC"),
    PICT("PICT"),
    QOI("QOI"),
    BPG("BPG"),
    FLIF("FLIF"),
    JXL("JXL"),
    KTX("KTX"),
    ASTC("ASTC"),
    PVR("PVR"),
    PKM("PKM"),
    DXT("DXT"),
    ETC("ETC"),
    BPTC("BPTC");

    private final String description;

    ImageFormat(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    /**
     * 获取显示名称（中文）
     *
     * @return 中文显示名称
     */
    public String getDisplayName() {
        return description;
    }
}